const env = import.meta.env.MODE;
const EnvConfig = {
    //开发
    development: {
        // 真实接口：http://localhost:9527/home/getUserData
        // baseApi: "http://localhost:9527/",
        baseApi: "/api",
        mockApi: "https://apifoxmock.com/m1/4068509-0-default/api",
    },
    //测试
    test: {
        baseApi: "//test.future.com/api",
        mockApi: "https://apifoxmock.com/m1/4068509-0-default/api",
    },
    //线上
    production: {
        baseApi: "//future.com/api",
        mockApi: "https://apifoxmock.com/m1/4068509-0-default/api",
    },
}
export default {
    env,
    ...EnvConfig[env], //解构
    //开关
    mock: false,
}